package com.jxtc.enterprise.common.constants;

public enum PrinterTypeEnum {

    // 数据库中 print_label_type 列的值 1：贴纸, 2：外卖小票
    TIE_ZHI_PRINTER("贴纸打印机", 1),
    XIAO_PIAO_PRINTER("小票打印机", 2);

    private final String printerTypeName;
    private final Integer typeCode;

    PrinterTypeEnum(String printerTypeName, Integer typeCode) {
        this.printerTypeName = printerTypeName;
        this.typeCode = typeCode;
    }

    public String getPrinterTypeName() {
        return printerTypeName;
    }

    public Integer getTypeCode() {
        return typeCode;
    }
}
